package com.ajhlp.android.savecode;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class MainActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }

    public void onItemClick(View view){
    	if(view.getId() == R.id.field_config_manage){
    		Intent intent = new Intent();
    		intent.setClass(MainActivity.this, ConfigManagerActivity.class);
    		startActivity(intent);
    	}
    }
}
